Skip to content
Permalink
Browse files

fix build warning with msvc

  • Loading branch information
jef-n committed Feb 22, 2019
1 parent 78e8c34 commit 130f3edde9859944764150e3c4517afa3e99b2f1
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/providers/CMakeLists.txt
@@ -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)

0 comments on commit 130f3ed

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