Skip to content

Commit

Permalink
Fix sisl settings include. (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd authored Aug 15, 2024
1 parent b673b42 commit f291194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.11)
find_package(sisl REQUIRED)
find_package(nuraft REQUIRED)

include(${sisl_INCLUDE_DIRS}/../cmake/settings_gen.cmake)
list(GET sisl_INCLUDE_DIRS 0 SISL_TOP_INCLUDE)
include ("${SISL_TOP_INCLUDE}/../cmake/settings_gen.cmake")
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

add_flags("-Wall -Wextra -Werror -Wpedantic")
Expand Down

0 comments on commit f291194

Please sign in to comment.