Skip to content

Commit

Permalink
fixed #120
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Klontz authored and caotto committed Nov 25, 2013
1 parent d4d9dee commit ee10ec7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ if(CMAKE_HOST_WIN32)
if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
endif()
set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\OpenBR.exe")
set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\br-gui.exe")
elseif(CMAKE_HOST_APPLE)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/README.md" "README.txt" COPYONLY)
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_BINARY_DIR}/README.txt")
Expand Down
2 changes: 1 addition & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ add_subdirectory(br)
add_subdirectory(examples)

# Build OpenBR GUI application
add_subdirectory(OpenBR)
add_subdirectory(br-gui)
5 changes: 0 additions & 5 deletions app/OpenBR/CMakeLists.txt

This file was deleted.

5 changes: 5 additions & 0 deletions app/br-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_executable(br-gui WIN32 br-gui.cpp ${BR_RESOURCES})
qt5_use_modules(br-gui ${QT_DEPENDENCIES})
target_link_libraries(br-gui openbr ${BR_THIRDPARTY_LIBS})
install(TARGETS br-gui RUNTIME DESTINATION bin)
2 changes: 1 addition & 1 deletion app/OpenBR/OpenBR.cpp → app/br-gui/br-gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ int main(int argc, char *argv[])
return result;
}

#include "OpenBR.moc"
#include "br-gui.moc"

0 comments on commit ee10ec7

Please sign in to comment.