File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -238,8 +238,11 @@ macro(nbl_create_ext_library_project EXT_NAME LIB_HEADERS LIB_SOURCES LIB_INCLUD
238
238
target_link_libraries (${LIB_NAME} PUBLIC Nabla )
239
239
target_compile_options (${LIB_NAME} PUBLIC ${LIB_OPTIONS} )
240
240
target_compile_definitions (${LIB_NAME} PUBLIC ${DEF_OPTIONS} )
241
- target_compile_definitions (${LIB_NAME} PRIVATE __NBL_BUILDING_NABLA__ )
242
- set_target_properties (${LIB_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
241
+ if (NBL_DYNAMIC_MSVC_RUNTIME )
242
+ set_target_properties (${LIB_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" )
243
+ else ()
244
+ set_target_properties (${LIB_NAME} PROPERTIES MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
245
+ endif ()
243
246
244
247
if ("${CMAKE_CXX_COMPILER_ID} " STREQUAL "GNU" )
245
248
add_compile_options (
Original file line number Diff line number Diff line change 4
4
5
5
namespace nbl ::ext::imgui
6
6
{
7
- class NBL_API2 UI final : public core::IReferenceCounted{
7
+ class UI final : public core::IReferenceCounted{
8
8
public:
9
9
10
10
UI (
You can’t perform that action at this time.
0 commit comments