fix cmake generation

This commit is contained in:
Antti Tapaninen 2018-12-22 20:32:19 -08:00
parent 11377f61c8
commit 8d2b7ead02

View File

@ -50,9 +50,9 @@ target_include_directories(hlslcc
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/cbstring> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/cbstring>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/internal_includes>) $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/internal_includes>)
set_target_properties(hlslcc PROPERTIES set_target_properties(hlslcc PROPERTIES
CXX_STANDARD 11 "CXX_STANDARD" "11"
CXX_STANDARD_REQUIRED ON "CXX_STANDARD_REQUIRED" "ON"
PUBLIC_HEADERS ${HLSLCC_HDRS}) "PUBLIC_HEADERS" "${HLSLCC_HDRS}")
install(TARGETS hlslcc install(TARGETS hlslcc
EXPORT hlslccConfig EXPORT hlslccConfig
ARCHIVE DESTINATION lib ARCHIVE DESTINATION lib