Skip to content

Commit

Permalink
fix Windows build error due to GNU stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaller committed Sep 14, 2024
1 parent 38c04d6 commit 8aefeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if(WIN32)
set(CMAKE_CXX_STANDARD_LIBRARIES "-static-libgcc -static-libstdc++ -lwsock32 -lws2_32 ${CMAKE_CXX_STANDARD_LIBRARIES}")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive")
set(GNULIB_NAMESPACE_SOURCES "${PROJECT_SOURCE_DIR}/core/chromosome.cpp"
"${PROJECT_SOURCE_DIR}/core/genome.cpp"
"${PROJECT_SOURCE_DIR}/core/haplosome.cpp"
"${PROJECT_SOURCE_DIR}/core/population.cpp"
"${PROJECT_SOURCE_DIR}/core/slim_globals.cpp"
"${PROJECT_SOURCE_DIR}/core/slim_sim_eidos.cpp"
Expand Down

0 comments on commit 8aefeff

Please sign in to comment.