Skip to content

Commit

Permalink
Fix option
Browse files Browse the repository at this point in the history
  • Loading branch information
hamitzor committed Jan 1, 2024
1 parent aec0bfa commit e1c7360
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.1)

if(UNIX AND NOT APPLE)
set(LINUX TRUE)
endif()
Expand All @@ -14,7 +15,7 @@ add_library(${PROJECT_NAME} SHARED ${SOURCES} ${CMAKE_JS_SRC})
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")

if(WIN32)
set(RTAUDIO_API_DS ON)
option(RTAUDIO_API_DS "" ON)
set_target_properties(${PROJECT_NAME} PROPERTIES SUFFIX "-win32.node")
endif()

Expand Down

0 comments on commit e1c7360

Please sign in to comment.