Skip to content

Commit

Permalink
cmake: streamline use of dashes and underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
fklebert committed Jul 18, 2023
1 parent 5eaa3ac commit 654e7b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ find_package(OpenSSL CONFIG REQUIRED)
find_package(keychain CONFIG REQUIRED)

if (ZSWAG_BUILD_WHEELS)
FetchContent_Declare(python_cmake_wheel
FetchContent_Declare(python-cmake-wheel
GIT_REPOSITORY "https://github.com/Klebert-Engineering/python-cmake-wheel"
GIT_TAG "main"
GIT_SHALLOW ON)

FetchContent_GetProperties(python_cmake_wheel)
FetchContent_GetProperties(python-cmake-wheel)

if(NOT python_cmake_wheel_POPULATED)
FetchContent_Populate(python_cmake_wheel)
set(CMAKE_MODULE_PATH "${python_cmake_wheel_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
if(NOT python-cmake-wheel_POPULATED)
FetchContent_Populate(python-cmake-wheel)
set(CMAKE_MODULE_PATH "${python-cmake-wheel_SOURCE_DIR}" ${CMAKE_MODULE_PATH})
endif()

if (NOT TARGET wheel)
Expand Down

0 comments on commit 654e7b3

Please sign in to comment.