mirror of
https://github.com/MaJerle/lwshell.git
synced 2025-02-06 13:08:22 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
462a6c0600
commit
cca29fb460
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22)
|
|||||||
# Setup project
|
# Setup project
|
||||||
project(LwLibPROJECT)
|
project(LwLibPROJECT)
|
||||||
|
|
||||||
if (NOT PROJECT_IS_TOP_LEVEL)
|
if(NOT PROJECT_IS_TOP_LEVEL)
|
||||||
add_subdirectory(lwshell)
|
add_subdirectory(lwshell)
|
||||||
else()
|
else()
|
||||||
# Set as executable
|
# Set as executable
|
||||||
@ -35,6 +35,6 @@ else()
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Add subdir with lwshell and link to project
|
# Add subdir with lwshell and link to project
|
||||||
add_subdirectory("lwshell" lwshell)
|
add_subdirectory(lwshell)
|
||||||
target_link_libraries(${PROJECT_NAME} lwshell)
|
target_link_libraries(${PROJECT_NAME} lwshell)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user