mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 01:09:34 +00:00
Changed: #1493 Fixed absolute prefixes
This commit is contained in:
parent
45fe25eb98
commit
4613fdd8a6
1 changed files with 4 additions and 4 deletions
|
@ -623,15 +623,15 @@ ENDMACRO(NL_SETUP_BUILD_FLAGS)
|
|||
|
||||
# Macro to create x_ABSOLUTE_PREFIX from x_PREFIX
|
||||
MACRO(NL_MAKE_ABSOLUTE_PREFIX NAME_RELATIVE NAME_ABSOLUTE)
|
||||
IF(IS_ABSOLUTE ${NAME_RELATIVE})
|
||||
SET(${NAME_ABSOLUTE} ${NAME_RELATIVE})
|
||||
ELSE(IS_ABSOLUTE ${NAME_RELATIVE})
|
||||
IF(IS_ABSOLUTE "${${NAME_RELATIVE}}")
|
||||
SET(${NAME_ABSOLUTE} ${${NAME_RELATIVE}})
|
||||
ELSE(IS_ABSOLUTE "${${{NAME_RELATIVE}}")
|
||||
IF(WIN32)
|
||||
SET(${NAME_ABSOLUTE} ${${NAME_RELATIVE}})
|
||||
ELSE(WIN32)
|
||||
SET(${NAME_ABSOLUTE} ${CMAKE_INSTALL_PREFIX}/${${NAME_RELATIVE}})
|
||||
ENDIF(WIN32)
|
||||
ENDIF(IS_ABSOLUTE ${NAME_RELATIVE})
|
||||
ENDIF(IS_ABSOLUTE "${${NAME_RELATIVE}}")
|
||||
ENDMACRO(NL_MAKE_ABSOLUTE_PREFIX)
|
||||
|
||||
MACRO(NL_SETUP_PREFIX_PATHS)
|
||||
|
|
Loading…
Reference in a new issue