diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-13 04:52:25 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-13 04:52:25 +0300 |
commit | 9352de797b9f2bceb77a7dfb0229c01f0ac1cd0d (patch) | |
tree | 82aad257a3e9c0ae03cdee4e9b867eb42e92bffd /cmake/openwattcom-dos/toolchain-ow.cmake | |
parent | b043032a89f38e2b3191a65dab9ae4e8202d48f3 (diff) | |
download | libADLMIDI-9352de797b9f2bceb77a7dfb0229c01f0ac1cd0d.tar.gz libADLMIDI-9352de797b9f2bceb77a7dfb0229c01f0ac1cd0d.tar.bz2 libADLMIDI-9352de797b9f2bceb77a7dfb0229c01f0ac1cd0d.zip |
Continue attempt to make library and demo player runnable under OpenWatcom
Because of broken STL containers, are very hard crashes in random places are can't be fixed with a full customizing of those containers.
Diffstat (limited to 'cmake/openwattcom-dos/toolchain-ow.cmake')
-rw-r--r-- | cmake/openwattcom-dos/toolchain-ow.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/openwattcom-dos/toolchain-ow.cmake b/cmake/openwattcom-dos/toolchain-ow.cmake index 17fbd22..cff87e8 100644 --- a/cmake/openwattcom-dos/toolchain-ow.cmake +++ b/cmake/openwattcom-dos/toolchain-ow.cmake @@ -9,7 +9,7 @@ set (WATCOM_PREFIX "$ENV{HOME}/Qt/Tools/ow-snapshot-2.0") set (ENV{PATH} ${WATCOM_PREFIX}/binl:$ENV{PATH}) set (ENV{WATCOM} ${WATCOM_PREFIX}) -set (ENV{INCLUDE} "${WATCOM_PREFIX}/lh") +set (ENV{INCLUDE} "${WATCOM_PREFIX}/h:${CMAKE_CURRENT_LIST_DIR}/custom-h") set (ENV{EDPATH} ${WATCOM_PREFIX}/eddat) set (ENV{WIPFC} ${WATCOM_PREFIX}/wipfc) @@ -27,7 +27,7 @@ set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set (CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) -include_directories(${WATCOM_PREFIX}/lh) +include_directories(${WATCOM_PREFIX}/h ${CMAKE_CURRENT_LIST_DIR}/custom-h) # Make sure Qt can be detected by CMake set (QT_BINARY_DIR ${WATCOM_PREFIX}/binl /usr/bin) |