Commit 058266d745d3db63d04046a3ee17aa567def612a

Authored by Scott Klum
1 parent ae1688b1

Fixed some windows related issues, not including tasm in compilation yet

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
... ... @@ -28,6 +28,8 @@
28 28 #include "err.h"
29 29 #include "misc.h"
30 30  
  31 +#include <stdarg.h>
  32 +
31 33 namespace stasm
32 34 {
33 35 static char err_g[SBIG]; // err msg saved for retrieval by LastErr and stasm_lasterr
... ...
3rdparty/stasm/stasm/stasm/src/print.cpp
... ... @@ -7,6 +7,7 @@
7 7 #include "misc.h"
8 8  
9 9 #include <sys/stat.h>
  10 +#include <stdarg.h>
10 11  
11 12 namespace stasm
12 13 {
... ...
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")
... ...