diff options
| author | 2015-07-13 19:46:11 -0300 | |
|---|---|---|
| committer | 2015-07-13 19:47:04 -0300 | |
| commit | 1bf030f4af76f76d52b59f81572edd8e064a5284 (patch) | |
| tree | c419d46e818ff93ea846541cc1225f4240675243 | |
| parent | Merge pull request #924 from aroulin/qt-disassembly-step (diff) | |
| download | yuzu-1bf030f4af76f76d52b59f81572edd8e064a5284.tar.gz yuzu-1bf030f4af76f76d52b59f81572edd8e064a5284.tar.xz yuzu-1bf030f4af76f76d52b59f81572edd8e064a5284.zip | |
getopt: Fix compilation settings
INTERFACE doesn't define the symbol when compiling the library itself.
PUBLIC should be used when the definition is needed both by the library
and by the users.
| -rw-r--r-- | externals/getopt/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/getopt/CMakeLists.txt b/externals/getopt/CMakeLists.txt index b4709a506..c8b745d55 100644 --- a/externals/getopt/CMakeLists.txt +++ b/externals/getopt/CMakeLists.txt | |||
| @@ -7,5 +7,5 @@ set(HEADERS | |||
| 7 | 7 | ||
| 8 | create_directory_groups(${SRCS} ${HEADERS}) | 8 | create_directory_groups(${SRCS} ${HEADERS}) |
| 9 | add_library(getopt ${SRCS} ${HEADERS}) | 9 | add_library(getopt ${SRCS} ${HEADERS}) |
| 10 | target_compile_definitions(getopt INTERFACE STATIC_GETOPT) | 10 | target_compile_definitions(getopt PUBLIC STATIC_GETOPT) |
| 11 | target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file | 11 | target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) |