Force library to be .dll on Windows
This commit is contained in:
parent
45122c12c5
commit
f62742e6c2
|
@ -151,6 +151,7 @@ target_include_directories(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE ${CMAKE_CURRENT_S
|
|||
|
||||
if(MSVC)
|
||||
target_compile_definitions(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE -D_CRT_SECURE_NO_WARNINGS)
|
||||
set_target_properties(${ANGELSCRIPT_LIBRARY_NAME} PROPERTIES SUFFIX ".dll")
|
||||
endif()
|
||||
|
||||
target_compile_definitions(${ANGELSCRIPT_LIBRARY_NAME} PRIVATE -DANGELSCRIPT_EXPORT -D_LIB)
|
||||
|
|
Loading…
Reference in New Issue