Skip to content

Commit

Permalink
fix build warning with msvc
Browse files Browse the repository at this point in the history
(cherry picked from commit 130f3ed)
  • Loading branch information
jef-n committed Feb 22, 2019
1 parent 17d0771 commit 9ad9991
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/providers/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 9ad9991

Please sign in to comment.