Skip to content
Permalink
Browse files

fix build warning with msvc

(cherry picked from commit 130f3ed)
  • Loading branch information
jef-n committed Feb 22, 2019
1 parent 17d0771 commit 9ad99910a1e25772af90199b7a0a265bf26f9c4c
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/providers/CMakeLists.txt
@@ -70,7 +70,10 @@ TARGET_LINK_LIBRARIES(qgis_arcgisrestutilstest arcgisfeatureserverprovider_a)

ADD_QGIS_TEST(gdalprovidertest testqgsgdalprovider.cpp)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
IF(NOT MSVC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
ENDIF(NOT MSVC)

ADD_QGIS_TEST(ogrprovidertest testqgsogrprovider.cpp)

ADD_QGIS_TEST(wmscapabilitiestest

0 comments on commit 9ad9991

Please sign in to comment.
You can’t perform that action at this time.