Skip to content

Commit

Permalink
respect custom cmake install path for bin/lib/include
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Dec 20, 2024
1 parent 2a655fd commit a30e739
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ configure_file("cmake/${PROJECT_NAME}-config.cmake"
@ONLY)

aws_check_headers(${PROJECT_NAME} ${AWS_CAL_HEADERS})
install(FILES ${AWS_CAL_HEADERS} DESTINATION "include/aws/cal" COMPONENT Development)
install(FILES ${AWS_CAL_HEADERS} DESTINATION "${INCLUDE_DIRECTORY}/aws/cal" COMPONENT Development)

if (BUILD_SHARED_LIBS)
set (TARGET_DIR "shared")
Expand Down
2 changes: 0 additions & 2 deletions bin/produce_x_platform_fuzz_corpus/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

project(produce_x_platform_fuzz_corpus C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/lib/cmake")

file(GLOB PROFILE_SRC
"*.c"
)
Expand Down
2 changes: 0 additions & 2 deletions bin/run_x_platform_fuzz_corpus/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

project(run_x_platform_fuzz_corpus C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/lib/cmake")

file(GLOB PROFILE_SRC
"*.c"
)
Expand Down
2 changes: 0 additions & 2 deletions bin/sha256_profile/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

project(sha256_profile C)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/lib/cmake")

file(GLOB PROFILE_SRC
"*.c"
)
Expand Down

0 comments on commit a30e739

Please sign in to comment.