mirror of
https://github.com/SimoneN64/Kaizen.git
synced 2025-04-02 10:41:53 -04:00
13 lines
392 B
CMake
13 lines
392 B
CMake
include(CMakeDependentOption)
|
|
|
|
CMAKE_DEPENDENT_OPTION(mio.windows.full_api
|
|
"Configure mio without WIN32_LEAN_AND_MEAN and NOMINMAX definitions"
|
|
@mio.windows.full_api@ "WIN32" ON)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/mio-targets.cmake")
|
|
|
|
if(NOT mio.windows.full_api)
|
|
set_property(TARGET mio::mio APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS
|
|
WIN32_LEAN_AND_MEAN
|
|
NOMINMAX)
|
|
endif()
|