mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 05:33:31 +01:00
CMakeLists: Don't dump LZO's includes into the top-level directory
Instead, we add the includes to the LZO target's interface. That way only libraries that link it in can see them.
This commit is contained in:
parent
9d7009796c
commit
7de2d1c9d6
@ -587,7 +587,6 @@ if(LZO_FOUND)
|
||||
else()
|
||||
message(STATUS "Using static lzo from Externals")
|
||||
add_subdirectory(Externals/LZO)
|
||||
include_directories(Externals/LZO)
|
||||
set(LZO lzo2)
|
||||
endif()
|
||||
|
||||
|
9
Externals/LZO/CMakeLists.txt
vendored
9
Externals/LZO/CMakeLists.txt
vendored
@ -1 +1,8 @@
|
||||
add_library(lzo2 STATIC minilzo.c)
|
||||
add_library(lzo2 STATIC
|
||||
minilzo.c
|
||||
)
|
||||
|
||||
target_include_directories(lzo2
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user