Skip to content

Commit

Permalink
Added STORMLIB_NO_AUTO_LINK
Browse files Browse the repository at this point in the history
  • Loading branch information
KiritoDv committed Jan 15, 2025
1 parent 44f3051 commit 546ca0f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ else()
>
/bigobj
/permissive-;
STORMLIB_NO_AUTO_LINK;
/MP;
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
${DEFAULT_CXX_EXCEPTION_HANDLING}
Expand All @@ -143,17 +144,14 @@ else()
/INCREMENTAL:NO;
/FORCE:MULTIPLE
>
/bigobj
/bigobj;
/MANIFEST:NO;
/DEBUG;
STORMLIB_NO_AUTO_LINK;
/SUBSYSTEM:CONSOLE
)

set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

if(USE_STANDALONE)
target_link_options(${PROJECT_NAME} PRIVATE "STORMLIB_NO_AUTO_LINK;")
endif()
endif()


Expand Down

0 comments on commit 546ca0f

Please sign in to comment.