Commit 9df04fd4 authored by Niklas Eiling's avatar Niklas Eiling
Browse files

Merge branch 'fix-cmake' into 'master'

replace round braces with curly braces in CMakeLists.txt to make ninja buildsystem happy

See merge request !1
parents b622ddef 41a77561
Pipeline #320755 passed with stages
in 18 seconds
......@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.0.2)
project(libxil C)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -fPIC -I$(SRCDIR)/include/xilinx -Iorig/common_v1_00_a/src -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -fPIC -I${SRCDIR}/include/xilinx -Iorig/common_v1_00_a/src -Wno-int-conversion -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast")
file(GLOB SOURCES src/*.c orig/*/src/*.c)
......@@ -41,4 +41,4 @@ set(CPACK_PACKAGE_VERSION_PATCH "0")
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;~$;${CPACK_SOURCE_IGNORE_FILES}")
include(CPack)
\ No newline at end of file
include(CPack)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment