Skip to content

Commit eb860da

Browse files
committed
added misssing cpp file
Signed-off-by: Michael Pollind <mpollind@gmail.com>
1 parent 2c306c0 commit eb860da

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/nbl/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ set(NBL_SYSTEM_SOURCES
181181
${NBL_ROOT_PATH}/src/nbl/system/CFilePOSIX.cpp
182182
${NBL_ROOT_PATH}/src/nbl/system/CSystemWin32.cpp
183183
${NBL_ROOT_PATH}/src/nbl/system/CSystemAndroid.cpp
184+
${NBL_ROOT_PATH}/src/nbl/system/ISystemPOSIX.cpp
184185
${NBL_ROOT_PATH}/src/nbl/system/CSystemLinux.cpp
185186
)
186187
set(NBL_UI_SOURCES
@@ -429,6 +430,7 @@ if (UNIX)
429430
${CMAKE_THREAD_LIBS_INIT}
430431
${CMAKE_DL_LIBS}
431432
)
433+
target_link_libraries(Nabla PUBLIC atomic)
432434
endif()
433435
# OpenSSL
434436
if(ANDROID AND NOT "${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows") # OpenSSL can't be built for Android platform using windows OS host

src/nbl/system/ISystemPOSIX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using namespace nbl;
77
using namespace nbl::system;
88

9-
#if defined(_NBL_PLATFORM_LINUX_) || defined (_NBL_PLATFORM_ANDROID_)
9+
#if defined(_NBL_PLATFORM_LINUX_) || defined(_NBL_PLATFORM_ANDROID_)
1010

1111
#include <fcntl.h>
1212
#include <sys/mman.h>

0 commit comments

Comments
 (0)