Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
smlu committed Dec 9, 2024
1 parent c565ac1 commit fe31739
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.12)
cmake_minimum_required(VERSION 3.15)
project(OpenJones3D VERSION 0.1.0)

set(CMAKE_C_STANDARD 11)
Expand All @@ -17,6 +17,9 @@ configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/LIBS/j3dcore/j3d.h"
)

# Set global property for MSVC runtime library (CMake 3.15+)
set(CMAKE_MSVC_RUNTIME_LIBRARY "$<$<CONFIG:Release>:MultiThreaded>$<$<CONFIG:Debug>:MultiThreadedDebug>")

if (MSVC)
add_compile_definitions("__BASE_FILE__=\"%(Filename)%(Extension)\"")
add_compile_options(
Expand Down

0 comments on commit fe31739

Please sign in to comment.