- fix build options for Windows
This commit is contained in:
@@ -22,6 +22,7 @@ set (AUDIOLIB_SOURCES
|
||||
)
|
||||
|
||||
add_library(audio_lib ${AUDIOLIB_SOURCES})
|
||||
set_property(TARGET audio_lib PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
##
|
||||
target_include_directories(audio_lib
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.15)
|
||||
project (helper_lib)
|
||||
|
||||
# Rely on C++ 11
|
||||
@@ -11,6 +12,7 @@ set (CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
file (GLOB HELPER_LIB_SOURCES "*.cpp" "*.h")
|
||||
|
||||
add_library(helper_lib ${HELPER_LIB_SOURCES})
|
||||
set_property(TARGET helper_lib PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
# Private include directories
|
||||
target_include_directories(helper_lib PRIVATE ../../libs/ ../../engine ../)
|
||||
|
||||
@@ -79,6 +79,8 @@ if (CMAKE_SYSTEM MATCHES "Windows*")
|
||||
endif()
|
||||
|
||||
add_library(media_lib ${SOURCES})
|
||||
set_property(TARGET media_lib PROPERTY
|
||||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
target_include_directories(media_lib
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../libs/
|
||||
|
||||
Reference in New Issue
Block a user