Skip to content

Commit 21d22c8

Browse files
author
Theo Paris
committed
build: apply cmake fixes
1 parent b42f035 commit 21d22c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project(openlibm
44
VERSION 0.8.0
55
LANGUAGES C ASM)
66

7-
add_library("${PROJECT_NAME}" SHARED)
7+
add_library("${PROJECT_NAME}")
88

99

1010
# Find the relevant folder depending on the architecture
@@ -72,7 +72,7 @@ elseif(${OPENLIBM_ARCH_FOLDER} STREQUAL "aarch64")
7272
endif()
7373

7474
# Project Source
75-
set(PROJECT_SRC "${PROJECT_SOURCE_DIR}")
75+
set(PROJECT_SRC "${CMAKE_CURRENT_SOURCE_DIR}")
7676

7777
# Common
7878
list(APPEND OPENLIBM_C_SOURCE

0 commit comments

Comments
 (0)