mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
correct variables in katie_check_defined()
CMAKE_REQUIRED_FLAGS is a string, not list Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
36c364fbe9
commit
17620d19d0
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ include(CheckStructHasMember)
|
||||||
# a function to check for C function/definition, works for external functions.
|
# a function to check for C function/definition, works for external functions.
|
||||||
function(KATIE_CHECK_DEFINED FORDEFINITION FROMHEADER)
|
function(KATIE_CHECK_DEFINED FORDEFINITION FROMHEADER)
|
||||||
# see comment in top-level CMakeLists file
|
# see comment in top-level CMakeLists file
|
||||||
set(CMAKE_REQUIRED_FLAGS -I/usr/X11R7/include -I/usr/pkg/include -I/usr/local/include -I/usr/include -I/include)
|
set(CMAKE_REQUIRED_FLAGS "-I/usr/X11R7/include -I/usr/pkg/include -I/usr/local/include -I/usr/include -I/include")
|
||||||
set(CMAKE_REQUIRED_LINK_OPTIONS -I/usr/X11R7/lib -L/usr/pkg/lib -L/usr/local/lib -L/usr/lib -L/lib)
|
set(CMAKE_REQUIRED_LINK_OPTIONS -L/usr/X11R7/lib -L/usr/pkg/lib -L/usr/local/lib -L/usr/lib -L/lib)
|
||||||
check_cxx_source_compiles(
|
check_cxx_source_compiles(
|
||||||
"
|
"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue