Skip to content

Commit c4cb346

Browse files
committed
Use absolute path
1 parent ae1c8dc commit c4cb346

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ set_target_properties(iris_alloy PROPERTIES CXX_EXTENSIONS OFF)
5151

5252
if(MSVC)
5353
add_custom_command(
54-
OUTPUT include/iris/alloy/detail/preprocessed/tuple_impl.hpp
54+
OUTPUT ${PROJECT_SOURCE_DIR}/include/iris/alloy/detail/preprocessed/tuple_impl.hpp
5555
COMMAND ${PROJECT_SOURCE_DIR}/scripts/generate_tuple_members.bat
5656
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
57-
DEPENDS include/iris/alloy/detail/tuple_impl.hpp
57+
DEPENDS ${PROJECT_SOURCE_DIR}/include/iris/alloy/detail/tuple_impl.hpp
5858
VERBATIM
5959
)
6060
else()
6161
add_custom_command(
62-
OUTPUT include/iris/alloy/detail/preprocessed/tuple_impl.hpp
62+
OUTPUT ${PROJECT_SOURCE_DIR}/include/iris/alloy/detail/preprocessed/tuple_impl.hpp
6363
COMMAND ${PROJECT_SOURCE_DIR}/scripts/generate_tuple_members.sh
6464
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
65-
DEPENDS include/iris/alloy/detail/tuple_impl.hpp
65+
DEPENDS ${PROJECT_SOURCE_DIR}/include/iris/alloy/detail/tuple_impl.hpp
6666
VERBATIM
6767
)
6868
endif()
@@ -73,7 +73,7 @@ file(
7373
${PROJECT_SOURCE_DIR}/include/iris/alloy/*.ipp
7474
)
7575

76-
list(APPEND IRIS_ALLOY_HEADERS include/iris/alloy/detail/preprocessed/tuple_impl.hpp)
76+
list(APPEND IRIS_ALLOY_HEADERS ${PROJECT_SOURCE_DIR}/include/iris/alloy/detail/preprocessed/tuple_impl.hpp)
7777

7878
target_sources(
7979
iris_alloy

0 commit comments

Comments
 (0)