- fix build options for Windows

This commit is contained in:
2022-02-14 22:18:48 +02:00
parent ce9912dd8d
commit ca32a483db
11 changed files with 17 additions and 0 deletions

View File

@@ -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 ../)