Commit 058266d745d3db63d04046a3ee17aa567def612a
1 parent
ae1688b1
Fixed some windows related issues, not including tasm in compilation yet
Showing
4 changed files
with
5 additions
and
3 deletions
3rdparty/stasm/stasm/CMakeLists.txt
| ... | ... | @@ -19,6 +19,6 @@ set_target_properties(stasm PROPERTIES |
| 19 | 19 | target_link_libraries(stasm ${OpenCV_LIBS} ${Qt5Core_QTMAIN_LIBRARIES}) |
| 20 | 20 | |
| 21 | 21 | install(DIRECTORY stasm/include/ DESTINATION include/stasm) |
| 22 | -install(DIRECTORY tasm/include/ DESTINATION include/tasm) | |
| 22 | +#install(DIRECTORY tasm/include/ DESTINATION include/tasm) | |
| 23 | 23 | |
| 24 | 24 | install(TARGETS stasm RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) | ... | ... |
3rdparty/stasm/stasm/stasm/src/err.cpp
3rdparty/stasm/stasm/stasm/src/print.cpp
share/openbr/cmake/FindStasm4.cmake
| ... | ... | @@ -22,14 +22,13 @@ foreach(CACHE_VAR ${CACHE_VARS}) |
| 22 | 22 | else() |
| 23 | 23 | set(CACHE_VAR_TYPE :${CACHE_VAR_TYPE}) |
| 24 | 24 | endif() |
| 25 | - | |
| 26 | 25 | if(CACHE_VAR STREQUAL "CMAKE_PREFIX_PATH") |
| 27 | 26 | set(CMAKE_PREFIX_PATH "\"${${CACHE_VAR}}\"") |
| 28 | 27 | endif() |
| 29 | 28 | endif() |
| 30 | 29 | endforeach() |
| 31 | 30 | |
| 32 | -find_path(STASM4_SOURCE_DIR stasm/include/stasm_lib.h ${CMAKE_SOURCE_DIR}/3rdparty/*) | |
| 31 | +find_path(STASM4_SOURCE_DIR stasm/stasm/include/stasm_lib.h ${CMAKE_SOURCE_DIR}/3rdparty/*) | |
| 33 | 32 | |
| 34 | 33 | set(STASM4_PREFIX "${CMAKE_BINARY_DIR}/stasm") |
| 35 | 34 | set(STASM4_INSTALL_DIR "${CMAKE_BINARY_DIR}/stasm") | ... | ... |