Skip to content

Commit

Permalink
fix error "cannot find -lluajit-debug" when typinf "cmake .." twice
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Aug 4, 2018
1 parent 3dd448d commit 3e53420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if(NOT CMAKE_BUILD_TYPE)
set(LUA_LIBRARIES luajit)
elseif(${CMAKE_BUILD_TYPE} STREQUAL "RELWITHDEBINFO")
set(LUA_LIBRARIES luajit)
else()
elseif(${CMAKE_BUILD_TYPE} STREQUAL "DEBUG")
set(LUA_LIBRARIES luajit-debug)
endif()

Expand Down

0 comments on commit 3e53420

Please sign in to comment.