Try XOPEN SOURCE 700
parent
a16c298ea0
commit
a950af444b
|
@ -6,7 +6,7 @@ set(LIBARY_NAME ${PROJECT_NAME})
|
|||
add_library(${LIBARY_NAME} STATIC whereami.c whereami.h)
|
||||
|
||||
# Add X/Open definition for realpath
|
||||
target_compile_definitions(${LIBARY_NAME} PUBLIC _XOPEN_SOURCE=500)
|
||||
target_compile_definitions(${LIBARY_NAME} PUBLIC _XOPEN_SOURCE=700)
|
||||
|
||||
# Use PUBLIC iso INTERFACE, so the library itself also finds it's own header file
|
||||
target_include_directories(
|
||||
|
|
Loading…
Reference in New Issue