Skip to content
Snippets Groups Projects
Commit 96030a1a authored by K. Williams's avatar K. Williams Committed by Jesse Mapel
Browse files

added flags for resolving compilation issue for missing pthreads on a windows...

added flags for resolving compilation issue for missing pthreads on a windows 10 machine with VS2017. (#106)
parent c7c54e88
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,8 @@ target_link_libraries(usgscsm
gtest ${CMAKE_THREAD_LIBS_INIT})
if(WIN32)
option(CMAKE_USE_WIN32_THREADS_INIT "using WIN32 threads" ON)
option(gtest_disable_pthreads "Disable uses of pthreads in gtest." ON)
install(TARGETS usgscsm
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(DIRECTORY ${USGSCSM_INCLUDE_DIRS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment