diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0913528..95f7160 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -28,7 +28,7 @@ set(ufofilter_LIBS ${UFO_LIBRARIES} ${OpenCL_LIBRARIES}) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -Wall -Wextra -fPIC -Wno-unused-parameter -Wno-deprecated-declarations") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu18 -pedantic -Wall -Wextra -fPIC -Wno-unused-parameter -Wno-deprecated-declarations") add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES) #}}} @@ -42,8 +42,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${OpenCL_INCLUDE_DIRS} ${UFO_INCLUDE_DIRS}) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in - ${CMAKE_CURRENT_BINARY_DIR}/config.h) +#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in +# ${CMAKE_CURRENT_BINARY_DIR}/config.h) foreach(_src ${ufofilter_SRCS}) @@ -68,7 +68,7 @@ foreach(_src ${ufofilter_SRCS}) add_library(${target} SHARED ${_src} ${common_SRCS} ${${_aux_src}}) endif() - target_link_libraries(${target} ${ufofilter_LIBS} ${${_aux_libs}} ufoaux) + target_link_libraries(${target} ${ufofilter_LIBS} ${${_aux_libs}}) list(APPEND all_targets ${target}) |