소스 검색

CMake formatting improved.

main
offa 5 년 전
부모
커밋
c1cda3e087
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. +6
    -6
      CMakeLists.txt

+ 6
- 6
CMakeLists.txt 파일 보기

@@ -33,17 +33,17 @@ set(CMAKE_CXX_EXTENSIONS OFF)

add_library(ScopeGuard INTERFACE)
target_include_directories(ScopeGuard INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)

if( ENABLE_COMPAT_HEADER )
configure_file(cmake/scope.in generated/scope COPYONLY)

target_include_directories(ScopeGuard INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/generated>
$<INSTALL_INTERFACE:include>
)
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/generated>
$<INSTALL_INTERFACE:include>
)
endif()



Loading…
취소
저장