Only use DLL for Windows + Shared
This commit is contained in:
parent
e2191039d5
commit
06c0953f63
|
@ -151,8 +151,10 @@ target_include_directories(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE ${CMAKE_CURRENT_S
|
|||
|
||||
if(MSVC)
|
||||
target_compile_definitions(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE -D_CRT_SECURE_NO_WARNINGS)
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(${ANGELSCRIPT_LIBRARY_NAME} PROPERTIES SUFFIX ".dll")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_compile_definitions(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE -DANGELSCRIPT_EXPORT -D_LIB)
|
||||
|
||||
|
|
Loading…
Reference in New Issue