mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
ENH: make sure source flags don't have to be set
This commit is contained in:
parent
ab7d51581c
commit
2df5c6033c
@ -65,6 +65,9 @@ MACRO(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
|
||||
GET_SOURCE_FILE_PROPERTY(swig_source_file_generated ${infile} GENERATED)
|
||||
GET_SOURCE_FILE_PROPERTY(swig_source_file_cplusplus ${infile} CPLUSPLUS)
|
||||
GET_SOURCE_FILE_PROPERTY(swig_source_file_flags ${infile} SWIG_FLAGS)
|
||||
IF(${swig_source_file_flags} STREQUAL "NOTFOUND")
|
||||
SET(swig_source_file_flags "")
|
||||
ENDIF(${swig_source_file_flags} STREQUAL "NOTFOUND")
|
||||
SET(swig_source_file_fullname "${infile}")
|
||||
IF(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
STRING(REGEX REPLACE
|
||||
|
Loading…
Reference in New Issue
Block a user