mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Explicitly set MSVC runtime library for juceaide
This commit is contained in:
parent
7ac6911ccc
commit
cb7bda4529
2 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.15)
|
||||
cmake_policy(SET CMP0091 NEW)
|
||||
endif()
|
||||
|
||||
project(JUCE VERSION 6.0.8 LANGUAGES C CXX)
|
||||
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS YES)
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@ if(JUCE_BUILD_HELPER_TOOLS)
|
|||
juce::juce_recommended_lto_flags
|
||||
juce::juce_recommended_warning_flags)
|
||||
|
||||
set_target_properties(juceaide PROPERTIES
|
||||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
|
||||
export(TARGETS juceaide
|
||||
NAMESPACE juce_tools::
|
||||
FILE "${JUCE_BINARY_DIR}/JUCEToolsExport.cmake")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue