mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 12:00:06 +00:00
CMake updated to require clients use C++11
This commit is contained in:
parent
ad9c7cbb3a
commit
c6b0acbd16
@ -152,6 +152,8 @@ target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/DirectXTex>
|
||||
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
||||
|
||||
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
|
||||
|
||||
if(ENABLE_OPENEXR_SUPPORT)
|
||||
find_package(OpenEXR REQUIRED)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${OPENEXR_INCLUDE_DIRS}/OpenEXR)
|
||||
|
Loading…
Reference in New Issue
Block a user