Skip to content

Commit

Permalink
Fix import issue (#2)
Browse files Browse the repository at this point in the history
- change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR
  • Loading branch information
chengcli authored Jun 11, 2023
1 parent dbf7971 commit 997dcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ include(${CMAKE_SOURCE_DIR}/cmake/compilers.cmake)
# 1. set up project configuration ##
message(STATUS "2. Set up project specific configuration ...")
message(STATUS "Include ${CMAKE_SOURCE_DIR}/cmake/parameters.cmake")
include(${CMAKE_SOURCE_DIR}/cmake/parameters.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/parameters.cmake)

# 1. Set up project system libraries ##
message(STATUS "3. Set up project system libraries----------------")
message(STATUS "----- Placeholder ----- ")

# 1. Set up project configure file and library ##
message(STATUS "4. Set up project libraries")
configure_file(${CMAKE_SOURCE_DIR}/configure.hpp.in configure.hpp @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/configure.hpp.in configure.hpp @ONLY)
add_subdirectory(src)

set(APPLICATION_INCLUDE_DIR
Expand Down

0 comments on commit 997dcf4

Please sign in to comment.