Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Dec 11, 2023
1 parent 8bc8166 commit bf0511c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ set(SOUNDSTRETCH OFF CACHE BOOL "" FORCE)
if (WIN32)
add_definitions(-D_WIN32 -DNOMINMAX -D_USE_MATH_DEFINES -DHAVE_SLEEF -DHAVE_LIBSAMPLERATE -DGETOPT_API=0 -DSLEEF_STATIC_LIBS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MD")
set_target_properties(EIMTimeStretchers PROPERTIES COMPILE_FLAGS "$<$<CONFIG:Release>:/GL>")
set_target_properties(EIMTimeStretchers PROPERTIES LINK_FLAGS "$<$<CONFIG:Release>:/LTCG>")
elseif (LINUX)
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "" FORCE)
add_definitions(-DUSE_PTHREADS -DHAVE_LIBSAMPLERATE -DHAVE_SLEEF -DHAVE_POSIX_MEMALIGN -DSLEEF_STATIC_LIBS)
Expand Down

0 comments on commit bf0511c

Please sign in to comment.