Skip to content

Commit

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

Expand Down

0 comments on commit 130f3ed

Please sign in to comment.