Skip to content

Commit

Permalink
Reuse test_package code in test_v1_package
Browse files Browse the repository at this point in the history
Co-authored-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
StellaSmith and uilianries committed Jan 20, 2023
1 parent 5043bfa commit 6a721a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
8 changes: 1 addition & 7 deletions recipes/lua/all/test_v1_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ project(test_package)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup(TARGETS)

find_package(lua REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} lua::lua)
if(COMPILE_AS_CPP)
target_compile_definitions(${PROJECT_NAME} PRIVATE COMPILE_AS_CPP)
endif()
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../test_package/ ${CMAKE_CURRENT_BINARY_DIR}/test_package/)
20 changes: 0 additions & 20 deletions recipes/lua/all/test_v1_package/test_package.cpp

This file was deleted.

0 comments on commit 6a721a7

Please sign in to comment.