Commit 915a5ec8d5ee905c7c04a4ff4ae9ac4647a88cae
1 parent
4569eb79
Started stasm4 stuff
Showing
1 changed file
with
0 additions
and
20 deletions
share/openbr/cmake/FindStasm.cmake deleted
| 1 | -# ================================================================ | |
| 2 | -# The Stasm CMake configuration file | |
| 3 | -# | |
| 4 | -# Usage from an external project: | |
| 5 | -# In your CMakeLists.txt, add these lines: | |
| 6 | -# | |
| 7 | -# find_package(Stasm REQUIRED) | |
| 8 | -# target_link_libraries(MY_TARGET ${Stasm_LIBS}) | |
| 9 | -# ================================================================ | |
| 10 | - | |
| 11 | -find_path(Stasm_DIR include/stasm.hpp ${CMAKE_SOURCE_DIR}/3rdparty/*) | |
| 12 | - | |
| 13 | -add_subdirectory(${Stasm_DIR} ${Stasm_DIR}/build) | |
| 14 | - | |
| 15 | -set(SRC ${SOURCE};${SRC}) | |
| 16 | - | |
| 17 | -include_directories(${Stasm_DIR}/include) | |
| 18 | -link_directories(${Stasm_DIR}/build) | |
| 19 | - | |
| 20 | -set(Stasm_LIBS stasm) |