Skip to content

Commit

Permalink
Fixes python build
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamonDinoia committed Jul 18, 2024
1 parent 6ff8c03 commit 8f111a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.23)

project(FINUFFT VERSION 2.2.0 LANGUAGES C CXX)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(CheckCXXCompilerFlag)

Expand Down Expand Up @@ -327,11 +325,7 @@ message(STATUS " FINUFFT_FFTW_LIBRARIES: ${FINUFFT_FFTW_LIBRARIES}")
message(STATUS " FINUFFT_ARCH_FLAGS: ${FINUFFT_ARCH_FLAGS}")

if (FINUFFT_USE_CPU)
if (FINUFFT_STATIC_LINKING)
get_target_property(FINUFFT_COMPILE_OPTIONS finufft_static COMPILE_OPTIONS)
else ()
get_target_property(FINUFFT_COMPILE_OPTIONS finufft COMPILE_OPTIONS)
endif ()
get_target_property(FINUFFT_COMPILE_OPTIONS finufft COMPILE_OPTIONS)
message("Compile options for finufft: ${MY_COMPILE_OPTIONS}")
endif ()

Expand Down

0 comments on commit 8f111a1

Please sign in to comment.