Skip to content

Commit

Permalink
feat: update CMakeLists.txt to fix issue (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
BA7LYA committed Aug 2, 2023
1 parent 10b660f commit dae142a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@

cmake_minimum_required(VERSION 3.19)

set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
${CMAKE_SOURCE_DIR}/cmake/modules
)

set(CMAKE_WARN_DEPRECATED ON)
set(PY_CASBIN_VERSION 1.1)

Expand All @@ -43,6 +38,10 @@ project(
LANGUAGES CXX C
)

set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
${PROJECT_SOURCE_DIR}/cmake/modules
)

###############################################################################
# Forbid in-source build.
Expand Down

0 comments on commit dae142a

Please sign in to comment.