Skip to content

Commit

Permalink
cmake: Remove workaround for pthreads file.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored and zayenz committed Dec 6, 2023
1 parent f2babad commit 18170c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ foreach (lib support kernel search int set float
if (${libupper}SRC)
set(sources )
foreach (src ${${libupper}SRC} ${${libupper}_GENSRC})
if ((src STREQUAL "gecode/support/thread/pthreads.cpp" AND MSVC) OR
(src STREQUAL "gecode/float/rounding.cpp" AND NOT ${MPFR_FOUND}))
if (src STREQUAL "gecode/float/rounding.cpp" AND NOT ${MPFR_FOUND})
# ignore empty source files to prevent linker warnings
else ()
set(sources ${sources} ${src})
Expand Down

0 comments on commit 18170c9

Please sign in to comment.