Skip to content

Commit

Permalink
move the add subdirectory dobby back
Browse files Browse the repository at this point in the history
  • Loading branch information
cgytrus committed Feb 9, 2024
1 parent b314b04 commit 6e4ea2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ include(cmake/CPM.cmake)
option(TULIP_LINK_SOURCE "Link to TulipHook source files, including external libs" OFF)

if(TULIP_LINK_SOURCE OR PROJECT_IS_TOP_LEVEL)
if(ANDROID OR UNIX)
add_subdirectory(libraries/dobby)
endif()
add_subdirectory(src)
endif()

Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ if (WIN32 OR APPLE)
target_include_directories(${PROJECT_NAME} PRIVATE ${capstone_SOURCE_DIR}/include)
endif()
if(ANDROID OR UNIX)
add_subdirectory(../libraries/dobby)
target_link_libraries(${PROJECT_NAME} PRIVATE Dobby)
message(STATUS "${Dobby_SOURCE_DIR}/source")
endif()
Expand Down

0 comments on commit 6e4ea2c

Please sign in to comment.