equal
deleted
inserted
replaced
136 |
136 |
137 set(hwfr_rez hedgewars.qrc) |
137 set(hwfr_rez hedgewars.qrc) |
138 |
138 |
139 if(BUILD_ENGINE_LIBRARY) |
139 if(BUILD_ENGINE_LIBRARY) |
140 add_definitions(-DHWLIBRARY) |
140 add_definitions(-DHWLIBRARY) |
141 set(HW_LINK_LIBS hwengine ${HW_LINK_LIBS}) |
141 if (WIN32) |
|
142 set (hwlibname ${EXECUTABLE_OUTPUT_PATH}/hwLibrary.dll) |
|
143 else (WIN32) |
|
144 set (hwlibname hwengine) |
|
145 endif (WIN32) |
|
146 set(HW_LINK_LIBS ${hwlibname} ${HW_LINK_LIBS}) |
142 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
147 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
143 endif() |
148 endif() |
144 |
149 |
145 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
150 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
146 |
151 |